package com.itcast.java.coupon.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 商品满减信息实体类
 *
 * @author xiaobai
 * @date 2021-06-27 19:38:46
 */
@Data
@TableName("sms_sku_full_reduction")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "SmsSkuFullReductionEntity对象", description = "商品满减信息")
public class SmsSkuFullReductionEntity implements Serializable{

private static final long serialVersionUID=1L;

        @ApiModelProperty(value = "id")
                @TableId(value = "id", type = IdType.AUTO)
                private Long id;

        @ApiModelProperty(value = "spu_id")
    @TableField("sku_id")
        private Long skuId;

        @ApiModelProperty(value = "满多少")
    @TableField("full_price")
        private BigDecimal fullPrice;

        @ApiModelProperty(value = "减多少")
    @TableField("reduce_price")
        private BigDecimal reducePrice;

        @ApiModelProperty(value = "是否参与其他优惠")
    @TableField("add_other")
        private Boolean addOther;

        }